<script type="text/javascript" src="/public/library/hvn/captcha.redraw.js"></script>

<div class="successMessage">
<?if(isset($this->viewParams['successMessage'])) :?>
	<?=$this->viewParams['successMessage']?>
<?endif?>
</div>
<div class="errorMessage">
<?if(isset($this->viewParams['successMessage'])) :?>
	<?=$this->viewParams['errorMessage']?>
<?endif?>
</div>

<form id="newNews" accept-charset="UTF-8" action="<?= $this->escape($this->viewParams['form']->getAction()) ?>"
      method="<?= $this->escape($this->viewParams['form']->getMethod()) ?>">

<?if(isset($this->viewParams['mode']) && $this->viewParams['mode'] != "new"):?>
<ul  class="navigationTab">
<li  class="selected"><a href="<?=$this->hvnUrl(array('module' => 'news', 'action' => 'edit'))?>?id=<?=$this->id?>"> <?=t(309) ?>  </a> </li>
<li> <a href="<?=$this->hvnUrl(array('module' => 'news', 'action' => 'gallery'))?>?id=<?=$this->id?>"> <?=t(6) ?>  </a> </li>
</ul>
<?endif?>
<?=t(13) ?> :
<?=$this->viewParams['form']->title ?> 
<? if(!empty($this->viewParams['form']->newsLanguage)) :?>
	<?=$this->viewParams['form']->newsLanguage ?>
<?endif ?>
<br/>
<?=t(14) ?> :<br/>
<?=$this->viewParams['form']->category ?>
<br/>
<?=t(15) ?> :
<?=$this->viewParams['form']->keywords?>
<br/>
<?=t(314) ?> :<br/><?=$this->viewParams['form']->body?>
<br/>
<? if(!empty($this->viewParams['form']->captcha_new_news)) :?>
<div>
<?=$this->viewParams['form']->captcha_new_news ?>
<a href="javascript:void()" class="redraw"> <?=t(22) ?>  </a>
</div>
<?endif ?>

<? if(isset($this->viewParams['form']->status)) :?>
<br/>
<?=t(2) ?> : <?=$this->viewParams['form']->status ?>
<br/>
<?endif ?>
<?=$this->viewParams['form']->submit ?>
<input type ="hidden" name = "id" value = "<?=$this->viewParams['id']; ?>" />
<input type ="hidden" name = "article_id" value = "<?=$this->viewParams['article_id']; ?>" />

</form>
